package com.example.cybz.acl.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.cybz.model.acl.Role;
import com.example.cybz.vo.acl.RoleQueryVo;

import java.util.List;
import java.util.Map;

public interface RoleService extends IService<Role> {

    Page<Role> selectRolePage(RoleQueryVo roleQueryVo, Page<Role> rolePage);

    Map<String, Object> selectRoleByUserId(Long admin);

    boolean savaAdminRole(Long adminId, List<Long> roleIdList);
}
